From 6070e167184ec853db1899bfdaf2bf2d7318f34d Mon Sep 17 00:00:00 2001 From: robertl Date: Sat, 16 Aug 2008 17:43:36 +0000 Subject: [PATCH] Init color in tracks/routes. --- route.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/route.c b/route.c index 2bbb6f90b..3baa1a734 100644 --- a/route.c +++ b/route.c @@ -68,6 +68,9 @@ route_head_alloc(void) rte_head = (route_head *) xcalloc(sizeof (*rte_head), 1); QUEUE_INIT(&rte_head->Q); QUEUE_INIT(&rte_head->waypoint_list); + rte_head->line_color.bbggrr = -1; + rte_head->line_color.opacity = 255; + rte_head->line_width = -1; return rte_head; } -- 2.30.2